package com.geepi.dao;

import java.io.Serializable;

public class Email implements Serializable {
	private String mailAdd;
	private boolean email;
	
	public Email() {
		
	}
	
	public Email(String mailAdd) {
		this.mailAdd = mailAdd;
	}
	
	public boolean isEmail() {
		if (mailAdd.contains("@")) {
			return true;
		}
		return false;
	}

	public String getMailAdd() {
		return mailAdd;
	}

	public void setMailAdd(String mailAdd) {
		this.mailAdd = mailAdd;
	}
	
	
}
